<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/vectrics.tld" prefix="vectrics" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<%@ page import="org.vectrics.recruiter.job.Job" %>
<%@ page import="org.apache.log4j.Logger" %>
<%@ page import="org.vectrics.recruiter.config.*" %>


<vectrics:errors debug="false"/>
<%
	Logger log = Logger.getLogger(this.getClass());
	
	log.debug("getting params");
%>

<vectrics:errors/>
<jsp:useBean id="profileForm" class="org.vectrics.user.web.struts.UserProfileForm" scope="request"/>

<html:form action="admin/user/person/edit" method="POST" focus="functionCode">

	<table>
		<tr>
			<td valign="TOP">
				<table width="600" cellpadding="4" cellspacing="1">
					<tr>
						<td class="formBg1" valign="top"><font class="formLabelClass">Company</font></td>
						<td class="formBg1" valign="top">
							<html:select name="profileForm" property="companyId" styleClass="formComboClass">
							  <html:options collection="companies" labelProperty="name" property="id"/>
							</html:select>
						</td>
					</tr>
					
					<tr>
						<td valign="TOP" align="left"></td>
						<td valign="TOP" align="left">
							<vectrics:formButton
							elementId="ok.btn"  
								code="button.ok" 
								phraseCode="button.ok" 
								value="submit" 
								name="submit"/>&nbsp;
							<vectrics:formButton
								elementId="cancel.btn"  
								code="button.cancel" 
								phraseCode="button.cancel" 
								value="cancel" name="cancel"/>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</html:form>